body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.image-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
    background-color: #f2f2f2;
}

.image-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    flex: 1 1 300px;
    min-width: 250px;
    height: 200px;
    margin: 10px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: scale(1.05);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片以合适的方式展示 */
    border-radius: 10px;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 10px;
    background: transparent; /* 设置文字背景为纯透明 */
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.card-content p {
    margin: 5px 0 0 0;
}

.card-content .tag {
    display: inline-block;
    background-color: #ff0;
    color: #000;
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 12px;
    margin-top: 5px;
}











